//
//  HRZDetailOverFooterView.m
//  EMarket
//
//  Created by 石头 on 2018/5/14.
//  Copyright © 2018年 好日子. All rights reserved.
//

#import "HRZDetailOverFooterView.h"

#import "HRZLIRLButton.h"
#import "UIView+SPExtension.h"

@interface HRZDetailOverFooterView()

/** 底部下拉提示 */
@property (nonatomic, strong) HRZLIRLButton *overMarkButton;

@end

@implementation HRZDetailOverFooterView

#pragma mark - Intial
- (instancetype)initWithFrame:(CGRect)frame {
    
    self = [super initWithFrame:frame];
    if (self) {
        
        [self setUpUI];
    }
    return self;
}

- (void)setUpUI
{
    self.backgroundColor = HRZBGColor;
    _overMarkButton = [HRZLIRLButton buttonWithType:UIButtonTypeCustom];
    [_overMarkButton setImage:[UIImage imageNamed:@"Details_Btn_Up"] forState:UIControlStateNormal];
    [_overMarkButton setTitle:@"上拉查看图文详情" forState:UIControlStateNormal];
    _overMarkButton.titleLabel.font = PFR12Font;
    [_overMarkButton setTitleColor:[UIColor lightGrayColor] forState:UIControlStateNormal];
    [self addSubview:_overMarkButton];
    
    _overMarkButton.frame = CGRectMake(0, 0, self.sp_width, self.sp_height);
}

@end
